package com.gccloud.design.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.gccloud.design.common.SysRoleGroupCommon;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 实现功能【角色】
 *
 * @author hu.hongdou
 * @date 2022/2/21
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel
public class SysRoleGroupVO extends SysRoleGroupCommon {

    private static final long serialVersionUID = 3021424574865352207L;
    @ApiModelProperty(notes = "创建时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;

    @ApiModelProperty(notes = "更新时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateDate;

    @ApiModelProperty(notes = "所属应用名称")
    private String appName;

    @ApiModelProperty(notes = "已绑定的权限点")
    private String roleList;

    @ApiModelProperty(notes = "是否授予")
    private Boolean have = Boolean.FALSE;

    @ApiModelProperty(notes = "所属机构名称")
    private String orgName;

    @ApiModelProperty(notes = "所属机构序列")
    private String orgSeq;

    @ApiModelProperty(notes = "角色类型名称")
    private String typeName;
}
